<template>
  <el-container>
    <el-header>
      <div class="top">
        <ul class="category">
          <li class="son"><img class="icon1" src="../assets/imgs/logo_p-01.png"></li>
          <li class="son"><img class="icon2" src="../assets/imgs/logo_w-01.png"></li>
          <li class="son"><a href="">首页</a></li>
          <li class="son"><a href="">健身管理</a></li>
          <li class="son"><a href="">商城管理</a></li>
          <li class="son"><a href="">音乐管理</a></li>
          <li class="son"><a href="">短视频管理</a></li>
          <li class="son"><a href="">活动管理</a></li>
          <li class="son"><a href="">技术实验室2.0</a></li>
        </ul>
      </div>
    </el-header>
    <el-main>
      <div style="margin: 0 auto;width: 1190px; text-align: center">
        <div style="height: 100px;width: 100%; margin: 0 auto ;text-align: center">
          <img class="icon3" src="../assets/imgs/logo-01-b-01.png">
          <span style="margin-top: 15px;">
                    <div style="width: 600px;float: right;margin-left: 100px;margin-top: 30px;margin-right: 150px;">
                      <el-input placeholder="请输入内容" class="input-with-select">
                        <el-button slot="append" icon="el-icon-search"></el-button>
                      </el-input>
                    </div>
          </span>
        </div>
      </div>
    </el-main>
    <el-footer>Footer</el-footer>
  </el-container>

</template>
<script>
export default {
  data() {
    return {
      carouseData:[
          {url: require("../assets/imgs/p2.png")},
        {url: require("../assets/imgs/product.png")},
        {url: require("../assets/imgs/p3.png")},
        {url: require("../assets/imgs/p4.png")},
      ]
    };
  },
  methods: {
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>
<style>
.son{
  float: left;margin: 10px 20px 0 20px;list-style: none; margin-bottom: 10px;
}
.son a{
  text-decoration: none;color: white;
}
.top{
  z-index: 10;width: 1190px;margin: 0 auto;
}
.back{
  z-index: 1;margin: 0 auto;
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0 auto;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
body{
  margin: 0 auto;
}
.el-header{
  height: 70px;background-color: rgb(23,24,25);width: 100%;margin: 0 auto;
}
.icon1{
  width: 20px;margin-bottom: 20px;margin-right: 10px;
}
.icon2{
  width: 250px;margin-bottom: 20px;margin-right: 20px;margin-left: 10px;
}
.el-main{
  background-color: rgb(249,249,249);margin: 0;padding: 0px;width: 100%;
}
.icon3{
  width: 100px;float: left;margin-top: 15px;margin-left: 150px;
}

</style>